package br.ufrn.engcomp.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import br.ufrn.engcomp.dao.UserDAO;

@Service
public class ServiceCadastraAdmin {

    @Autowired
    private UserDAO dao;

    @Transactional
    public boolean existeAdmin() {
	return dao.existeAdmin();
    }
}
